.class public Landroid/support/v4/view/MotionEventCompat; .super Ljava/lang/Object; .source "MotionEventCompat.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroid/support/v4/view/MotionEventCompat$EclairMotionEventVersionImpl;, Landroid/support/v4/view/MotionEventCompat$BaseMotionEventVersionImpl;, Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; } .end annotation # static fields .field public static final ACTION_HOVER_ENTER:I = 0x9 .field public static final ACTION_HOVER_EXIT:I = 0xa .field public static final ACTION_HOVER_MOVE:I = 0x7 .field public static final ACTION_MASK:I = 0xff .field public static final ACTION_POINTER_DOWN:I = 0x5 .field public static final ACTION_POINTER_INDEX_MASK:I = 0xff00 .field public static final ACTION_POINTER_INDEX_SHIFT:I = 0x8 .field public static final ACTION_POINTER_UP:I = 0x6 .field public static final ACTION_SCROLL:I = 0x8 .field static final IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; # direct methods .method static constructor ()V .locals 2 .prologue .line 99 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/4 v1, 0x5 if-lt v0, v1, :cond_0 .line 100 new-instance v0, Landroid/support/v4/view/MotionEventCompat$EclairMotionEventVersionImpl; invoke-direct {v0}, Landroid/support/v4/view/MotionEventCompat$EclairMotionEventVersionImpl;->()V sput-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; .line 104 :goto_0 return-void .line 102 :cond_0 new-instance v0, Landroid/support/v4/view/MotionEventCompat$BaseMotionEventVersionImpl; invoke-direct {v0}, Landroid/support/v4/view/MotionEventCompat$BaseMotionEventVersionImpl;->()V sput-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; goto :goto_0 .end method .method public constructor ()V .locals 0 .prologue .line 25 invoke-direct {p0}, Ljava/lang/Object;->()V .line 75 return-void .end method .method public static findPointerIndex(Landroid/view/MotionEvent;I)I .locals 1 .parameter "event" .parameter "pointerId" .prologue .line 192 sget-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; invoke-interface {v0, p0, p1}, Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl;->findPointerIndex(Landroid/view/MotionEvent;I)I move-result v0 return v0 .end method .method public static getActionIndex(Landroid/view/MotionEvent;)I .locals 2 .parameter "event" .prologue .line 182 invoke-virtual {p0}, Landroid/view/MotionEvent;->getAction()I move-result v0 const v1, 0xff00 and-int/2addr v0, v1 shr-int/lit8 v0, v0, 0x8 return v0 .end method .method public static getActionMasked(Landroid/view/MotionEvent;)I .locals 1 .parameter "event" .prologue .line 174 invoke-virtual {p0}, Landroid/view/MotionEvent;->getAction()I move-result v0 and-int/lit16 v0, v0, 0xff return v0 .end method .method public static getPointerId(Landroid/view/MotionEvent;I)I .locals 1 .parameter "event" .parameter "pointerIndex" .prologue .line 201 sget-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; invoke-interface {v0, p0, p1}, Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl;->getPointerId(Landroid/view/MotionEvent;I)I move-result v0 return v0 .end method .method public static getX(Landroid/view/MotionEvent;I)F .locals 1 .parameter "event" .parameter "pointerIndex" .prologue .line 210 sget-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; invoke-interface {v0, p0, p1}, Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl;->getX(Landroid/view/MotionEvent;I)F move-result v0 return v0 .end method .method public static getY(Landroid/view/MotionEvent;I)F .locals 1 .parameter "event" .parameter "pointerIndex" .prologue .line 219 sget-object v0, Landroid/support/v4/view/MotionEventCompat;->IMPL:Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl; invoke-interface {v0, p0, p1}, Landroid/support/v4/view/MotionEventCompat$MotionEventVersionImpl;->getY(Landroid/view/MotionEvent;I)F move-result v0 return v0 .end method